package org.indi.graduatemanagement.common.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class ScoreKeyValue implements Serializable {

    @NotNull(message = "id不能为空")
    private Long id;

    @NotBlank(message = "科目名称不能为空")
    private String gradesKey;

    @NotNull(message = "科目成绩不能为空")
    private Integer gradesValue;
}
